a = 'a10'
b = 200
a1 = a[1:]
c = int(a1)+b
print(c)


a1 = ('10,20,30,40')
b1 = 200


# 先以逗号为分隔符劈分，创建一个新的列表对象
x1 = a1.split(sep=',')
print(x1)
print(type(x1))
# 索引出x1中第一个数
print(x1[0])

# 索引并且转换类型在相加
c1 = int(x1[0])+b1
print(c1)

print('---------------')
